/*  1:   */ package org.jetbrains.jps.model.serialization.module;
/*  2:   */ 
/*  3:   */

import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jps.model.JpsElement;
import org.jetbrains.jps.model.module.JpsModuleType;
import org.jetbrains.jps.model.serialization.JpsElementPropertiesSerializer;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */ 
/* 10:   */ public abstract class JpsModulePropertiesSerializer<P extends JpsElement>
/* 11:   */   extends JpsElementPropertiesSerializer<P, JpsModuleType<P>>
/* 12:   */ {
/* 13:   */   private final String c;
/* 14:   */   
/* 15:   */   protected JpsModulePropertiesSerializer(JpsModuleType<P> paramJpsModuleType, String paramString1, @Nullable String paramString2)
/* 16:   */   {
/* 17:32 */     super(paramJpsModuleType, paramString1);
/* 18:33 */     this.c = paramString2;
/* 19:   */   }
/* 20:   */   
/* 21:   */   @Nullable
/* 22:   */   public String getComponentName()
/* 23:   */   {
/* 24:38 */     return this.c;
/* 25:   */   }
/* 26:   */   
/* 27:   */   public abstract P loadProperties(@Nullable Element paramElement);
/* 28:   */   
/* 29:   */   public abstract void saveProperties(@NotNull P paramP, @NotNull Element paramElement);
/* 30:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.serialization.module.JpsModulePropertiesSerializer

 * JD-Core Version:    0.7.0.1

 */